<ul class="pagination">
  <li ng-if="boundaryLinks" ng-class="{disabled: noPrevious()}"><a href ng-click="selectPage(1)">{{getText('first')}}</a></li>
  <li ng-if="directionLinks" ng-class="{disabled: noPrevious()}"><a href ng-click="selectPage(page.page,'sub')">{{getText('previous')}}</a></li>
  <li ng-repeat="page in pages track by $index" ng-class="{active: page.active}"><a href ng-click="selectPage(page.number)">{{page.text}}</a></li>
  <li ng-if="directionLinks" ng-class="{disabled: noNext()}"><a href ng-click="selectPage(page.page,'add')">{{getText('next')}}</a></li>
  <li ng-if="boundaryLinks" ng-class="{disabled: noNext()}"><a href ng-click="selectPage(totalPages)">{{getText('last')}}</a></li>
  <li ng-if="!normal" style="font-size: 12px;position: relative;top: 2px;color: #428bca;"> &nbsp 共{{totalPages}}页</li>
  <li ng-if="!normal" style="font-size: 12px;position: relative;top: 2px;color: #428bca;">
    &nbsp&nbsp 到第<input type="text" style="width: 40px;text-align: center" ng-keyup="checkInputValue()" ng-blur="renderInputValue()" ng-model="page.page" >页
  </li>
  <a ng-if="!normal" href ng-click="selectPage(page.page)" class="btn btn-primary" style="font-size: 12px;line-height: 13px;">确定</a>
</ul>